// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'BillCustomFieldDetailId',
        footer: "Foots",
        cnName: '自定义字段明细',
        name: 'BillCustomFieldDetail',
        newTabEdit: false,
        url: "/BillCustomFieldDetail/",
        sortName: "BillCustomFieldDetailId"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {"FieldEntityKey":"","FieldDisplayName":"","FiledTypeId":"","FieldName":""};
    const editFormOptions = [[{"title":"字段实体Key","required":true,"field":"FieldEntityKey","disabled":true,"type":"text"},
                               {"title":"字段显示名称","required":true,"field":"FieldDisplayName","disabled":true,"type":"text"},
                               {"dataKey":"是否","data":[],"title":"字段类型","required":true,"field":"FiledTypeId","disabled":true,"type":"select"},
                               {"title":"字段名称","required":true,"field":"FieldName","disabled":true,"type":"text"}]];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{field:'BillCustomFieldDetailId',title:'自定义字段明细标识',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'BillCustomFieldId',title:'自定义字段表标识',type:'int',width:110,hidden:true,require:true,align:'left'},
                       {field:'FieldEntityKey',title:'字段实体Key',type:'string',width:180,readonly:true,require:true,align:'left'},
                       {field:'FieldDisplayName',title:'字段显示名称',type:'string',width:180,readonly:true,require:true,align:'left'},
                       {field:'FiledTypeId',title:'字段类型',type:'int',bind:{ key:'是否',data:[]},width:110,readonly:true,require:true,align:'left'},
                       {field:'FieldName',title:'字段名称',type:'string',width:180,readonly:true,require:true,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}